﻿using DayuCode.Designer.Entity;
using DayuCode.Designer.Entity.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DayuCode.Designer.Model
{
    public class ServiceCodeParam
    {
		public Func Func { get; set; }
		public string Author { get; set; }
		public string NowTime { get; set; }
		public string SysName { get; set; }

		public HDataTable Table { get; set; }
		public bool Tree { get; set; }//本表是否是树形结构。
		public long? ParentColumnId { get; set; }//本表自身的上级字段，只有isTree==true时有效
		public HDataColumn ParentColumn { get; set; }//本表自身的上级字段(同parentColumnId)，只有isTree==true时有效
		public List<HDataGridColumn> AggregateColumns { get; set; }
		public List<HDataGridColumn> AggregateGroupColumns { get; set; }

		public HDataColumn CatalogColumn { get; set; }//本表(this.table)中，关联目录表的字段
		public HDataTable CatalogTable { get; set; }//本表(this.table)关联的目录表
	}
}
